<?php

header("Content-type:text/html;charset=utf-8");

$name=$_POST["name"];
$pass=$_POST["pass"];

$conn = mysql_connect("localhost","root","root");
	
mysql_select_db("zrt");

$result = mysql_query("insert into yonghu(yhname,mima) values('$name','$pass')",$conn);
	
	echo $result;
	
	mysql_close($conn);
	
?>